package com.zx.easy.pojo.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

@Getter
@Setter
@ToString
public class UserExportVo {

    @ColumnWidth(10)
    private String id;

    @ExcelProperty(value = "姓名")
    private String name;


    @ExcelProperty(value = "年龄")
    private Integer age;


    @ExcelProperty(value = "邮箱")
    @ColumnWidth(10)
    private String email;


    @ExcelProperty(value = "直属上级id")
    private String managerId;

   
    @ExcelProperty(value = "创建时间")
    private LocalDateTime createTime;

 
    @ExcelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    
    @ExcelProperty(value = "时间戳")
    @DateTimeFormat("yyyy:MM:dd HH:mm:ss")
    private String timestamp;

    @ExcelProperty(value = "枚举")
    private String languages;
    
}